/**
 * Created by Eoly on 2017/3/29.
 * Call http://palerock.cn
 */

var pageGroup = app.pageGroup;

// 添加路由页面
pageGroup.addPage('home-page/home.html');
pageGroup.addPage('center-page/center.html');
pageGroup.addPage('personal-center-page/personal-center.html');
pageGroup.addPage('personal-information-page/personal-information.html');
pageGroup.addPage('alter-truename-page/alter-truename.html');
pageGroup.addPage('alter-nickname-page/alter-nickname.html');
pageGroup.addPage('mysettings-page/mysettings.html');
pageGroup.addPage('mynews-page/mynews.html');
pageGroup.addPage('mynews-page/mynews.html');
pageGroup.addPage('user-login-page/user-login.html');
pageGroup.addPage('user-register-page/user-register.html')
pageGroup.addPage('myshopper-page/myshopper.html')
pageGroup.addPage('xiang-page/xiangqing.html')
pageGroup.addPage('myorders1-page/myorders1.html')
pageGroup.addPage('myorders2-page/myorders2.html')
pageGroup.addPage('myorders3-page/myorders3.html')
pageGroup.addPage('forgetpwd-page/forgetpwd.html')
pageGroup.addPage('alterpwd-page/alterpwd.html')
pageGroup.addPage('details-page/details.html')
pageGroup.addPage('alter-information-page/alter-information.html');
pageGroup.addPage('reflection-page/reflection.html')
pageGroup.addPage('help-page/help.html')
pageGroup.addPage('index-hot-page/index-hot.html')
pageGroup.addPage('tab-page/tab.html')
pageGroup.addPage('home-new-page/homenewest.html')
pageGroup.addPage('register-page/register.html')
pageGroup.addPage('home-topic-page/hometopic.html')
pageGroup.addPage('xiang-linetake-page/linetake.html')
pageGroup.addPage('xiang-details-page/pingjia-page.html')
pageGroup.addPage('mywallet-page/mywallet.html')
pageGroup.addPage('classification-page/classification.html')
pageGroup.addPage('classification2-page/classification2.html')
pageGroup.addPage('evaluate-details-page/evaluate-details.html')
pageGroup.addPage('collection-page/collection.html')
pageGroup.addPage('aboutus-function-page/functionintro.html')
pageGroup.addPage('aboutus-page//aboutus.html')
pageGroup.addPage('evaluate-more-page/evaluate-more.html')
pageGroup.addPage('confirm-order-page/confirm-order.html')
pageGroup.addPage('publication-page/publication.html')
pageGroup.addPage('course-record-page/courserecord.html')
pageGroup.addPage('bought-record-page/boughtrecord.html')
pageGroup.addPage('search-page/search.html')
// 设置默认页面
pageGroup.setDefault('/home');
// 初始化路由
pageGroup.buildRouter(app);